/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sim_cognitive;
import java.io.*;
import java.util.*;

/**
 *
 * @author ambassador
 */
public class Main {
    public static void main(){
        try  {
        IOException e=new IOException();
        private static String fileProperties = "C:/Users/ambassador/Documents/NetBeansProjects/sim_cognitive/src/sim_cognitive/default.properties";
        Properties pro = new Properties();
        FileInputStream in = new FileInputStream(fileProperties);
        pro.load(in);
        System.out.println("All key are given: " + pro.keySet());
        System.out.print("Enter Key : ");
        key = bf.readLine();
        String p = pro.getProperty(key);
        System.out.println(key + " : " + p);
        //getInitials();
        
        
    
        catch(IOException e){
           System.out.println(e.getMessage());
           }
        
          }
}

    //public static void getInitials(){
      //  Scanner in = new Scanner (System.in);
      //  Helper helper= new Helper();
      //  readConfig(helper);
   // }
    
   // public static void readConfig(){
        
   // }
    /**
     * @param args the command line arguments
     */
    //static int nodeCount = 3;
    //static Node[] nodes;
   // static Band[] bands;
   // static int frequencyCount = 10;
   // static Random rand = new Random(System.nanoTime());

  //  public static void main(String[] args) {
  //      nodes = new Node[nodeCount];
   //     for (int i = 0; i < nodeCount; i++) {
   //         nodes[i] = new Node(i, frequencyCount);
  //      }
  //      bands = new Band[frequencyCount];
  //      for (int i=0; i < frequencyCount; i++){
  //          bands[i] = new Band(i, rand.nextBoolean());
  //      }
        
        // τεστ αλλαγή
  //  }
}
